<div class="g-col12 model">
    <div class="g-col12 model-toolbar">
        <div class="search-input-group">
            <label data-bind="koLabel, text: '付款方式：'"></label>
            <div data-bind="koSelect:{selectData:dialogModel.dictionaryArray,initSelectItem:searchModel.payType,customText:'content',className:'u-input search-input'}, stopBinding"></div>
        </div>
        <div class="search-input-group">
            <label data-bind="koLabel, text: '进货时间：'"></label>
            <input id="purchaseDate" class="u-input search-input" data-bind="datetimepicker: datatimepicker, value: searchModel.purchaseDate,event:{change:dateChange}" type="text">
        </div>
        <div class="search-input-group">
            <label data-bind="koLabel, text: '过期日期：'"></label>
            <input id="expDate" class="u-input search-input" data-bind="datetimepicker: datatimepicker, value: searchModel.expDate,event:{change:dateChange}" type="text">
        </div>
        <div class="search-input-group">
            <label data-bind="koLabel, text: '药品：'"></label>
            <div data-bind="koEnterSelect:{selectData:dialogModel.medicineArray,initSelectItem:searchModel.medicine,customText:'medicineName',className:'u-input search-input'}, stopBinding"></div>
        </div>
        <div class="search-input-group">
            <span data-bind="koButton: {className: 'u-btn u-btn-default u-icon icon-search'}, click: searchData, text: '查询'"></span>
        </div>
        <div class="search-input-group">
            <span data-bind="koButton: {className: 'u-btn u-btn-default u-icon icon-plus'}, click: addData, text: '增加'"></span>
        </div>
    </div>
    <div class="g-col12 model-table ko-grid-parent">
        <div data-bind="koGrid: tableModel"></div>
    </div>
</div>